package com.sl.au.service;

import java.util.List;

import com.sl.au.entity.KitchenWaste;
import com.sl.au.entity.User;
import com.sl.au.repository.KitchenWasteRepository;

public interface KitchenWasteService extends BaseService{
	
	KitchenWasteRepository getRepository();

	List<KitchenWaste> findByTimeAndBusinessseller(int start, int length, String key, String orderName, String dir);
	
	List<KitchenWaste> getKitchenWastes(int start, int length, String key, String userId, String orderName, String dir);
	
	List<KitchenWaste> getPage(int start, int length, String userId, String orderName, String dir);
	
	int getCount(String key,String userId);
}
